import request from '@/util/request'

// 牧户列表
export function getMuHuList(params) {
  return request({
      url: `/hxyc/cattle/muhu/list?current=${params.current}&size=${params.size}`,
      method: 'get'
  })
}

// 牧户详情
export function getMuhuInfo(muhuId) {
  return request({
      url: `/hxyc/api/bigData/getMuhuInfo?muhuId=${muhuId}`,
      method: 'get'
  })
}


// 获取牧户的 养殖档案
export function getMuhuCattlePage(params) {
  return request({
      url: `/hxyc/api/bigData/getMuhuCattlePage?phone=${params.phone}&current=${params.current}&size=${params.size}`,
      method: 'get'
  })
}